package cn.shengchao.examstar.knowledge.application.command;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 更新知识点掌握度命令
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateKnowledgeMasteryCommand {
    
    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    
    /**
     * 知识点ID
     */
    @NotNull(message = "知识点ID不能为空")
    private Long knowledgePointId;
    
    /**
     * 正确率
     */
    @NotNull(message = "正确率不能为空")
    private String accuracyRate;
    
    /**
     * 学习计划ID
     */
    private Long studyPlanId;
} 